package com.foxitcloud.webpdf.common;

/**
 * @author Shaojie Zhuo
 * configuration constants
 */
public class ConfigConstans {
	
	/**
	 * key of max page number configuration. A PDF which number of the file exceeds this vaule ,conversion will be failed.
	 */
	public static final String MAX_PAGE_NUMBER_KEY = "FOXIT_MAX_PAGE_NUMBER";
	/**
	 * default max page number
	 */
	public static final int DEFAULT_MAX_PAGE_NUMBER = 100;
	/**
	 * configuration key of vertical DPI of image to generate.
	 */
	public static final String  DEFAULT_IMAGE_VERTICAL_DPI_KEY = "FOXIT_DEFAULT_IMAGE_VERTICAL_DPI";
	/**
	 * default vertical DPI of image.
	 */
	public static final int DEFAULT_IMAGE_VERTICAL_DPI = 96;
	
	/**
	 * configuration key of horizontal DPI of image to generate.
	 */
	public static final String  DDEFAULT_IMAGE_HORIZONTAL_DPI_KEY = "FOXIT_DEFAULT_IMAGE_HORIZONTAL_DPI";
	/**
	 * default horizontal DPI of image.
	 */
	public static final int DDEFAULT_IMAGE_HORIZONTAL_DPI = 96;

	
	/**
	 * configuration key of maximum width of image to generate.
	 */
	public static final String  MAX_IMAGE_WIDTH_KEY = "FOXIT_MAX_IMAGE_WIDTH";
	/**
	 * default max width of image.
	 */
	public static final int DEFAULT_MAX_IMAGE_WIDTH = 4096;
	
	/**
	 * configuration key of maximum height of image to generate.
	 */
	public static final String  MAX_IMAGE_HEIGHT_KEY = "FOXIT_MAX_IMAGE_HEIGHT";
	/**
	 * default max width of image.
	 */
	public static final int DEFAULT_MAX_IMAGE_HEIGHT = 4096;
	
	/**
	 * default of of cache expiration in days.
	 */
	public static final int DEFAULT_CACHE_EXPIRATION_IN_DAYS = 30;
	
	/**
	 * key of zoom levels configuration 
	 */
	public static final String IMAGE_ZOOM_LIST_KEY = "FOXIT_IMAGE_ZOOM_LIST";
	/**
	 * default zoom levels
	 */
	public static final String DEFAULT_IMAGE_ZOOM_LIST = "1.0,-1";
	
	/**
	 * key of font path configuration.
	 */
	public static final String FONT_ROOT_PATH_KEY = "FOXIT_FONT_ROOT_PATH";
	
	public static final String FOXIT_WEB_READER_DLL_DIR = "FOXIT_WEB_READER_DLL_DIR";
	
	public static final String FOXIT_SIGNATURELIST_MAX = "FOXIT_SIGNATURELIST_MAX";
	
	public static final String FOXIT_DOC_PASSWORD_DEFAULTPASS = "sumilux";
	//---------------------------------------------------------------------------
	public static final String FOXIT_CACHE_ROOT_PATH_KEY = "FOXIT_CACHE_ROOT_PATH";
	public static final String DEFAULT_FOXIT_CACHE_ROOT_PATH = "D:/cache";
	
	public static final String FOXIT_CACHE_EXPIRATION_DAYS_KEY = "FOXIT_CACHE_EXPIRATION_DAYS";
	public static final int DEFAULT_FOXIT_CACHE_EXPIRATION_DAYS = 30;
	
	
}
